Skip to content

[libcxx] added cxa_guard functions#758

Merged
ZERICO2005 merged 1 commit intomasterfrom
cxa_guard
Mar 29, 2026
Merged

[libcxx] added cxa_guard functions#758
ZERICO2005 merged 1 commit intomasterfrom
cxa_guard

Conversation

@ZERICO2005
Copy link
Copy Markdown
Contributor

@ZERICO2005 ZERICO2005 commented Mar 18, 2026

__cxa_guard_acquire, __cxa_guard_release, and __cxa_guard_abort are emitted with -fthreadsafe-statics. Most commonly when building the libcxx_19_locale branch.

We currently define -fno-threadsafe-statics (see also #749) so Clang won't normally emit these. But they are harmless to add into the toolchain, and prevent users in the future from receiving linker errors.

@ZERICO2005 ZERICO2005 merged commit 0394937 into master Mar 29, 2026
9 checks passed
@ZERICO2005 ZERICO2005 deleted the cxa_guard branch March 29, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant